package gredis

import (
	"errors"
)

const (
	MaxDialTimeout  = 1000 // millisecond
	MaxReadTimeout  = 1000 // millisecond
	MaxWriteTimeout = 3000 // millisecond
	MaxPoolSize     = 1024
	MaxPoolTimeout  = 2 // second
	MinIdleConns    = 3
	MaxRetries      = 1
)

var (
	ErrNotFoundConfig = errors.New("no config found")
	ErrInvalidConfig  = errors.New("named config is not a valid *Config type")
)
